home *** CD-ROM | disk | FTP | other *** search
-
-
-
- {Test the SimRMI unit. Simulates a call to real mode interrupt 05h to print the
- screen using the 'print screen' key routine.
-
- Running this program has the same effect as hitting the PrtScr key in DOS.
- Needs to be running in a 'standard' video mode (eg VGA) with the correct printer
- set up in DOS using GRAPHICS.
-
- It is assumed that Windows is running in protected mode.
-
- Rex K. Perkins, CIS 70651,1611
-
-
- 6th March 1992
-
- }
-
-
- Program SimScr;
-
- Uses SimRMI;
-
- Const IntVec=05; {Call this interrupt}
-
-
- Begin
- If CheckISRInstalled(IntVec) Then {If there is an interrupt handler installed...}
- SimRealModeInt(IntVec,@DontCareRMR) {..call it. We don't care what the registers, so zero them}
- End.
-
-